<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>用户管理</title>
     <script src="__STATIC__/Js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" type="text/css" href="__STATIC__/hdjs/hdjs.css"/>
    <script src="__STATIC__/hdjs/hdjs.min.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div class="wrap">
    <table class="hd-table hd-table-list">
        <thead>
   			<tr>
				<td width="50">用户id</td>
				<td>用户名</td>
				<td width="100">是否锁定</td>
				<td width="120">操作</td>
			</tr>
        </thead>
        <tbody>
        	<foreach from="$data" key="$k" value="$v">
			<tr>
				<td width="50">{$v.uid}</td>
				<td>{$v.username}</td>
				<td width="100">
					<if value="$v.is_lock == 0">
						<a href="{|U:'lock',array('uid'=>$v[uid])}" class="hd-btn hd-btn-primary hd-btn-sm">未锁定</a>
					<else/>
						<a href="{|U:'nolock',array('uid'=>$v[uid])}" class="hd-btn hd-btn-danger hd-btn-sm">锁定</a>
					</if>
				</td>
				<td width="120">
					<a href="">删除</a>
				</td>
			</tr>
			</foreach>
        </tbody>
    </table>
    <div class="page_hdjob">
        
    </div>
</div>

</body>
</html>